Stick with software CRC-32C on 32-bit ARM (#1117022).
authorAaron M. Ucko <ucko@debian.org>
Thu, 16 Oct 2025 20:10:18 +0000 (16:10 -0400)
committerAaron M. Ucko <ucko@debian.org>
Thu, 16 Oct 2025 20:10:18 +0000 (16:10 -0400)
* debian/control: Restrict armv8crc-support dependency to arm64.
* debian/patches/zcf-simde-crc32c: Leave CFLAGS alone on 32-bit ARM;
  adjustments aren't actually worthwhile there and would have needed to
  go further on armhf, on which (at least under GCC) ARMv8 targets
  additionally need +simd.  (Closes: #1117022.)

debian/changelog
debian/control
debian/patches/zcf-simde-crc32c

index 4566f312ea9961e40024e8f6076e930d2e6e42f6..c8f66fef729ced22d672e1887a0645943439b432 100644 (file)
@@ -1,8 +1,13 @@
 ncbi-blast+ (2.17.0+ds-3) UNRELEASED; urgency=medium
 
   * NOT RELEASED YET.
+  * debian/control: Restrict armv8crc-support dependency to arm64.
+  * debian/patches/zcf-simde-crc32c: Leave CFLAGS alone on 32-bit ARM;
+    adjustments aren't actually worthwhile there and would have needed to
+    go further on armhf, on which (at least under GCC) ARMv8 targets
+    additionally need +simd.  (Closes: #1117022.)
 
- -- Aaron M. Ucko <ucko@debian.org>  Thu, 16 Oct 2025 15:54:56 -0400
+ -- Aaron M. Ucko <ucko@debian.org>  Thu, 16 Oct 2025 16:10:17 -0400
 
 ncbi-blast+ (2.17.0+ds-2) unstable; urgency=medium
 
index 4e04f26cbcc7fffb2c9ca89d2894bc032d9ea5f6..128f069ca24b215eda4d477d4979e93f6512a04b 100644 (file)
@@ -35,7 +35,7 @@ Package: ncbi-blast+
 Architecture: any
 Multi-Arch: foreign
 Depends:
- armv8crc-support [any-arm arm64],
+ armv8crc-support [arm64],
  ncbi-data,
  python3,
  sse4.2-support [any-amd64 any-i386 any-x32],
index 939b1387edd49f8869f79d246f46695ff18f2a74..8bd68888448641646f77cf6990d089b0322818fc 100644 (file)
  /* ===========================================================================
   * Insert string str in the dictionary and return the previous head
   * of the hash chain (the most recent string with same hash key).
+--- a/c++/src/util/compress/zlib_cloudflare/Makefile.zlib_cf.lib.unix
++++ b/c++/src/util/compress/zlib_cloudflare/Makefile.zlib_cf.lib.unix
+@@ -1,6 +1,6 @@
+ # $Id: Makefile.zlib_cf.lib.unix 677587 2024-01-18 20:07:53Z ivanov $
+-ifneq "" "$(findstring --arm,$(signature))$(findstring --aarch64,$(signature))"
++ifneq "" "$(findstring --arm64,$(signature))$(findstring --aarch64,$(signature))"
+   crc32.o:   CFLAGS += -march=armv8-a+crc
+   deflate.o: CFLAGS += -march=armv8-a+crc
+ endif